package com.sharekitchen.entity;

import com.sharekitchen.common.MyConst;

import java.util.List;

public class DeviceDetail {
    private String devId;
    private int devNum;
    private int devUsable;
    private int devUsing;
    private int isDelete = MyConst.DELETE_NO;

    public DeviceDetail() {
    }

    public DeviceDetail(String devId, int devNum, int devUsable, int devUsing, int isDelete) {
        this.devId = devId;
        this.devNum = devNum;
        this.devUsable = devUsable;
        this.devUsing = devUsing;
        this.isDelete = isDelete;
    }


    public String getDevId() {
        return devId;
    }

    public void setDevId(String devId) {
        this.devId = devId;
    }

    public int getDevNum() {
        return devNum;
    }

    public void setDevNum(int devNum) {
        this.devNum = devNum;
    }

    public int getDevUsable() {
        return devUsable;
    }

    public void setDevUsable(int devUsable) {
        this.devUsable = devUsable;
    }

    public int getDevUsing() {
        return devUsing;
    }

    public void setDevUsing(int devUsing) {
        this.devUsing = devUsing;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "DeviceDetail{" +
                "devId='" + devId + '\'' +
                ", devNum=" + devNum +
                ", devUsable=" + devUsable +
                ", devUsing=" + devUsing +
                ", isDelete=" + isDelete +
                '}';
    }
}
